Add ArchUnitPython to Python unit tests#13367
Open
fniessink wants to merge 1 commit into
Open
Conversation
e3de77e to
f03f248
Compare
| @@ -0,0 +1,18 @@ | |||
| disable_logging # unused function (src/shared_test_code/__init__.py) | |||
| @@ -0,0 +1,18 @@ | |||
| disable_logging # unused function (src/shared_test_code/__init__.py) | |||
| package_names # unused function (src/shared_test_code/__init__.py) | |||
| @@ -0,0 +1,18 @@ | |||
| disable_logging # unused function (src/shared_test_code/__init__.py) | |||
| package_names # unused function (src/shared_test_code/__init__.py) | |||
| path_glob # unused function (src/shared_test_code/__init__.py) | |||
| disable_logging # unused function (src/shared_test_code/__init__.py) | ||
| package_names # unused function (src/shared_test_code/__init__.py) | ||
| path_glob # unused function (src/shared_test_code/__init__.py) | ||
| METRIC_ID # unused variable (src/shared_test_code/fixtures.py) |
| package_names # unused function (src/shared_test_code/__init__.py) | ||
| path_glob # unused function (src/shared_test_code/__init__.py) | ||
| METRIC_ID # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID2 # unused variable (src/shared_test_code/fixtures.py) |
| path_glob # unused function (src/shared_test_code/__init__.py) | ||
| METRIC_ID # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID2 # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID3 # unused variable (src/shared_test_code/fixtures.py) |
| METRIC_ID # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID2 # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID3 # unused variable (src/shared_test_code/fixtures.py) | ||
| METRIC_ID4 # unused variable (src/shared_test_code/fixtures.py) |
25558b0 to
3840d7e
Compare
b094eab to
f053755
Compare
| METRIC_ID2 # unused variable (src/shared_test_code/fixtures.py:8) | ||
| METRIC_ID3 # unused variable (src/shared_test_code/fixtures.py:9) | ||
| METRIC_ID4 # unused variable (src/shared_test_code/fixtures.py:10) | ||
| REPORT_ID # unused variable (src/shared_test_code/fixtures.py:11) |
| METRIC_ID3 # unused variable (src/shared_test_code/fixtures.py:9) | ||
| METRIC_ID4 # unused variable (src/shared_test_code/fixtures.py:10) | ||
| REPORT_ID # unused variable (src/shared_test_code/fixtures.py:11) | ||
| REPORT_ID2 # unused variable (src/shared_test_code/fixtures.py:12) |
| METRIC_ID4 # unused variable (src/shared_test_code/fixtures.py:10) | ||
| REPORT_ID # unused variable (src/shared_test_code/fixtures.py:11) | ||
| REPORT_ID2 # unused variable (src/shared_test_code/fixtures.py:12) | ||
| SOURCE_ID # unused variable (src/shared_test_code/fixtures.py:13) |
150972d to
2e62b6a
Compare
- Adopted ArchUnitPython and added foundation-layer architecture tests (utilities package depends on nothing internal, no cycles, etc.) - Created a shared test-helper package (`tests/shared_test_code/`) to house shared test code such as `load_data_model`, `disable_logging`, and the METRIC_ID/REPORT_ID/SOURCE_ID/SUBJECT_ID constants - Wired the package into components as a dev dependency and added it to CI/CD workflows Closes #13241.
2e62b6a to
7abff6b
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Closes #13241.